package com.lighting.module3;

public class Phone {

    //字段
    String brand;
    String memory;
    String size;
    String color;
    double price;

    //构造方法（可以自动生成）

//    Phone(String b, String m, String s, String c, double p) {
//        this.brand = b;
//        this.memory = m;
//        this.size = s;
//        this.color = c;
//        this.price = p;
//    }


    public Phone(String brand, String memory, String size, String color, double price) {
        this.brand = brand;
        this.memory = memory;
        this.size = size;
        this.color = color;
        this.price = price;
    }
}
